package com.nbcio.iot.protocol;

/**
 * 协议处理统一接口
 */
public interface ProtocolHandler {

    void connect();

    void disconnect();

    void subscribe(String topic);

    void publish(String topic, String payload);
} 